<!-- 记账模块 -->
<template>
    <div>
        <div class="back-home" @click="goHome">
            首页
        </div>
        <router-view></router-view>
    </div>
</template>

<script>
export default {
    data() {
        return {
            
        }
    },
    created() {
        
    },
    mounted() {

    },
    computed: {

    },
    methods: {
        // 返回首页
        goHome() {
            this.$router.push('/')
        }
    }
}
</script>

<style lang="scss" scoped>
    @import "~@/assets/style/helper.scss";

    .back-home {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 99;
        color: $color-highlight;
    }
</style>